//
// Created by zyl on 2021/5/5.
//
#include "_typedef.h"
#include "stdio.h"

//结构体定义
struct person {
    char name[32];
    int age;
    //定义结构体的同时定义变量
} person1, person2 = {"zhangsan", 32};

void _struct(void) {
    struct stu zhangsan;
    struct stu a1;
    printf("age: %d, name: %u", a1.age, a1.name[0]);
}

void _typedef_int() {
    INT32 a = 3;
    printf("%d", a);
}

void _size_of_stu() {
    printf("%d", sizeof(STU));
}
